package org.hy.corn_task.enums;

import lombok.Getter;

@Getter
public enum RequestStatus {

    SUCCESS("0", "成功"),
    EMPTY("1", "查询为空"),
    FAIL("2", "失败");

    private final String code;
    private final String message;

    RequestStatus(String code, String message) {
        this.code = code;
        this.message = message;
    }
}
